package com.frxuexi.park2302.park

import com.frxuexi.lib_base.entity.ParkBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class ParkIntent:IUiIntent {

    data class getParkByType(val type:String):ParkIntent()

    data class getParkByArea(val area:String):ParkIntent()

    data class getParkByStatus(val status:String):ParkIntent()
    data class getParkByCarNo(val carNo:String):ParkIntent()

    data class deletePark(val id:Int):ParkIntent()

    data class addPark(val bean:ParkBeanItem):ParkIntent()

    data class getParkById(val id:Int):ParkIntent()

    data class updatePark(val id:Int,val bean:ParkBeanItem):ParkIntent()
}